package com.zxjbyte.yiyi.module.system.convert.oss;

import com.zxjbyte.yiyi.module.system.domain.dto.oss.OssRecordAddDTO;
import com.zxjbyte.yiyi.module.system.domain.entity.OssRecordPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author zhangxingjia
 * @Date 2023/6/28 14:14
 * @Version: 1.0
 */
@Mapper(componentModel = "spring")
public interface OssRecordConvert {

    OssRecordConvert INSTANCE = Mappers.getMapper(OssRecordConvert.class);

    OssRecordPO addConvert(OssRecordAddDTO dto);
}
